package com.chengshi.shop.dao.admin;

import com.chengshi.shop.model.admin.AdminLog;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xuxinlong
 */
@Repository
public interface AdminLogMapper {
    int deleteByPrimaryKey(Integer logId);

    int insert(AdminLog record);

    int insertSelective(AdminLog record);

    AdminLog selectByPrimaryKey(Integer logId);

    int updateByPrimaryKeySelective(AdminLog record);

    int updateByPrimaryKeyWithBLOBs(AdminLog record);

    int updateByPrimaryKey(AdminLog record);

    /**
     * 获取日志列表
     * @return
     */
    List<AdminLog> getLogList();
}